<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:c="http://java.sun.com/jsp/jstl/core">
    <ol>
        <ul>
            <a href="index.xhtml"><h:outputText value="#{messages.root_link}"/></a>
        </ul>
        <c:if test="#{login.loggedIn}">
            <ul>
                <a href="sourceManager.xhtml"><h:outputText value="#{messages.package_sources}"/></a>
            </ul>
            <c:if test="#{facesContext.externalContext.isUserInRole('jnuget-admin')}">
                <ul>
                    <a href="usersOptions.xhtml"><h:outputText value="#{messages.users_link}"/></a>
                </ul>
                <ul>
                    <a href="commonOptions.xhtml"><h:outputText value="#{messages.settings_link}"/></a>
                </ul>
            </c:if>

        </c:if>
    </ol>
</ui:composition>